home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_094 / modulatools / readme < prev    next >
Text File  |  1992-05-06  |  1KB  |  19 lines

  1.  
  2.  
  3.    Virtually all of the documentation you will need is in the definition module.
  4. However, I have found one problem that I didn't document, in hopes that it 
  5. might one day be eliminated: the routines for creating a MenuStrip inexplicably
  6. eat about 20K of memory (keep reading). I have checked my code several times and
  7. am quite confident that the problem does not lie there. I suspect TDI, but that
  8. is because I hate them, their compiler and ESPECIALLY their editor (not simply
  9. non-functional, but actually anti-functional).
  10.  
  11. ***************************   Yes, there IS hope!!!  ***************************
  12.  
  13.    There is a simple and easy solution to THE RIDDLE OF THE MISSING 20K: call
  14. DestroyHeap (in module Storage) at the end of your program. Since I use NEW,
  15. DISPOSE, ALLOCATE and DEALLOCATE for all my structure creations/destructions,
  16. then DestroyHeap will obliterate any stray structures I (or MUCH more likely,
  17. TDI) may have left lying around. I have yet to encounter a situation where this
  18. didn't free all the memory used by a Modula-2 program. See, that wasn't so bad!
  19.